import request from '@/utils/request'

// 查询监管码列表
export function listUploadcircubill(query) {
  return request({
    url: '/barcode/uploadcircubill/list',
    method: 'get',
    params: query
  })
}

// 查询监管码详细
export function getUploadcircubill(id) {
  return request({
    url: '/barcode/uploadcircubill/' + id,
    method: 'get'
  })
}

// 新增监管码
export function addUploadcircubill(data) {
  return request({
    url: '/barcode/uploadcircubill',
    method: 'post',
    data: data
  })
}

// 修改监管码
export function updateUploadcircubill(data) {
  return request({
    url: '/barcode/uploadcircubill',
    method: 'put',
    data: data
  })
}

// 删除监管码
export function delUploadcircubill(id) {
  return request({
    url: '/barcode/uploadcircubill/' + id,
    method: 'delete'
  })
}
